package com.koron.order.linedefect.base.bean.vo;

import com.koron.order.common.bean.vo.OrderExecuteVo;
import com.koron.order.risk.base.bean.po.LineRiskPart;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @ClassName ExecuteBean
 * @description
 * @Author zhouj
 * @Date 2021/9/6 15:51
 */
@Data
public class DefectExecuteVO extends OrderExecuteVo {

    /*缺陷执行信息*/
    @ApiModelProperty(value = "缺陷执行信息ID")
    private String defectExecuteId;

    @ApiModelProperty(value = "缺陷工单ID")
    private String defectId;

    @ApiModelProperty(value = "工单执行信息ID")
    private String executeId;

    @ApiModelProperty(value = "设备ID")
    private String equipmentId;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "缺陷描述是否准确")
    private Integer trueStatus;

    @ApiModelProperty(value = "缺陷原因类型")
    private String reasonType;

    @ApiModelProperty(value = "缺陷原因")
    private String reason;

    @ApiModelProperty(value = "是否提交")
    private Boolean isCommit = false;

    @ApiModelProperty(value = "工作负责人")
    private String leader;

    @ApiModelProperty(value = "工作负责人名称")
    private String leaderName;

    @ApiModelProperty(value = "作业单位")
    private String workDept;

    @ApiModelProperty(value = "作业单位名称")
    private String workDeptName;

    @ApiModelProperty(value = "缺陷类型 defect_category")
    private String category;

    @ApiModelProperty(value = "缺陷关键字Id(缺陷表象)")
    private String keysId;

    @ApiModelProperty(value = "缺陷关键字(缺陷表象)")
    private String keys;

    @ApiModelProperty(value = "塔段信息")
    private List<LineRiskPart> lineRiskPartList;
}
